texthandle: Correct placement of handles
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Mar 2023 18:49:18 +0000 (14:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 06:38:17 +0000 (08:38 +0200)
commitb02ade43c302be5a17a7f0d502d5386ff22bd2b4
tree8c2782cca222978f281d92609dd72d65208821a8
parentbb48a02a77c6c7501898d4e11f57cdab2031bbfb
texthandle: Correct placement of handles

Text handles had the same problem as popovers.
They were interpreting their pointing-to rectangle
relative to the widgets bounds, when it is meant
to be relative to the widgtets allocation.

While we touch this code, rewrite it to use
gtk_widget_compute_point.
gtk/gtktexthandle.c